package com.aizhixin.lab.task.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.aizhixin.lab.task.entity.ReleaseQuestionChoice;
import com.aizhixin.lab.task.entity.ReleaseTaskFile;
import com.aizhixin.lab.task.entity.TaskQuestionChoice;
import com.aizhixin.lab.task.entity.TaskStuFile;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
public class TaskStuQusetionsDomain {

    @ApiModelProperty(value="试题id")
    private String id;

    @ApiModelProperty(value="题干")
    private String questionContent;

    @ApiModelProperty(value="试题排序")
    private Integer orderNum;

    @ApiModelProperty(value="解析")
    private String analysis;

    @ApiModelProperty(value="正确答案")
    private String answer;

    @ApiModelProperty(value="学生答案")
    private String stuAnswer;

    @ApiModelProperty(value="是否正确")
    private Integer isCorrect;

    @ApiModelProperty(value="错误类型(0:答案错误,1:选择错误,2:少选)")
    private Integer errorType;

    @ApiModelProperty(value="批语")
    private String comment;
    
	@ApiModelProperty(value="审批时间")
	private Date batchTime;
	
	@ApiModelProperty(value="试题类型,传1的时候为编程题")
	private Integer questionType;
	
	@ApiModelProperty(value="回答语言")
	private String language;
	
	@ApiModelProperty(value="编程运行结果")
	private String runResult;
	
	@ApiModelProperty(value="编程运行代码")
	private String runCode;
	@ApiModelProperty(value = "代码建议")
    private String codeAdvise;
    @ApiModelProperty(value="老师参考代码")
    private String referenceCode;
	
	private List<ReleaseQuestionChoice> choicelist=new ArrayList<>();
	
    @ApiModelProperty(value="试题题干附件集合")
    private List<ReleaseTaskFile> accessorylist = new ArrayList<ReleaseTaskFile>();
    
    @ApiModelProperty(value="试题答案附件集合")
    private List<ReleaseTaskFile> accessorylistAnswer = new ArrayList<ReleaseTaskFile>();
    
    @ApiModelProperty(value="试题解析附件集合")
    private List<ReleaseTaskFile> accessorylistAna = new ArrayList<ReleaseTaskFile>();

    @ApiModelProperty(value="学生答案附件集合")
    private List<TaskStuFile> stuAnswerAccessorylist = new ArrayList<TaskStuFile>();
}
